<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#first" data-toggle="tab">今日上新</a></li>
            <li><a href="#second" data-toggle="tab">历史产品</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="first">
                <div id="toolbar1" class="toolbar">
                    <a href="javascript:;" class="pull-left btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <div class="pull-left" style="min-width: 100px;">
                            <select id="c-type" class="form-control selectpicker" name="row[type]">
                                <option value="0">选择店铺</option>
                                {foreach name="braList" item="vo"}
                                    <option value="{$vo.id}">{$vo.name}</option>
                                {/foreach}
                            </select>
                        </div>
                        <a class="btn btn-info btn-change btn-start btn-disabled disabled btn-selected" data-params="action=start" id="copy_goods" data-url="products_shopify/start" href="javascript:;"><i class="fa fa-play"></i>开始复制</a>
                        <a class="btn btn-primary btn-change btn-start" data-params="action=start" id="synchronous" data-url="products_shopify/synchronous" href="javascript:;"><i class="fa fa-play"></i>同步shopify商品</a>
                        <a class="btn btn-warning btn-change btn-start btn-disabled disabled btn-selected" data-params="action=start" id="needless" data-url="products_shopify/needless" href="javascript:;"><i class="fa fa-play"></i>批量设置为无需更新SKU</a>

                        <a class="btn btn-success btn-change btn-start btn-disabled disabled btn-selected" data-params="action=start" id="sku_goods" data-url="products_shopify/sku_goods" href="javascript:;"><i class="fa fa-play"></i>批量生成SKU</a>

                        <a href="javascript:;" class="btn btn-default" style="font-size:15px;color:#0009ff;">
                            <span class="extend">
                                    商品总数：<span id="number_goods">0</span>
                                    |已更新：<span id="been_updat">0</span>
                                    |未更新：<span id="not_updat">0</span>
                                    |更新错误：<span id="update_error">0</span>
                            </span>
                        </a>

                </div>
                <table id="table1" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
            <div class="tab-pane fade" id="second">
                <div id="toolbar2" class="toolbar">
                    <a href="javascript:;" class="pull-left btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <div class="pull-left" style="min-width: 100px;">
                            <select id="c-type2" class="form-control selectpicker" name="row[type]">
                                <option value="0">选择店铺</option>
                                {foreach name="braList" item="vo"}
                                    <option value="{$vo.id}">{$vo.name}</option>
                                {/foreach}
                            </select>
                        </div>
                        <a class="btn btn-info btn-change btn-start2 btn-disabled disabled btn-selected" data-params="action=start" id="copy_goods2" data-url="products_shopify/start" href="javascript:;"><i class="fa fa-play"></i>开始复制</a>
                        <a class="btn btn-primary btn-change btn-start2" data-params="action=start" id="synchronous2" data-url="products_shopify/synchronous" href="javascript:;"><i class="fa fa-play"></i>同步shopify商品</a>
                        <a class="btn btn-warning btn-change btn-start2 btn-disabled disabled btn-selected" data-params="action=start" id="needless2" data-url="products_shopify/needless" href="javascript:;"><i class="fa fa-play"></i>批量设置为无需更新SKU</a>

                        <a class="btn btn-success btn-change btn-start2 btn-disabled disabled btn-selected" data-params="action=start" id="sku_goods2" data-url="products_shopify/sku_goods" href="javascript:;"><i class="fa fa-play"></i>批量生成SKU</a>

                        <a href="javascript:;" class="btn btn-default" style="font-size:15px;color:#0009ff;">
                            <span class="extend">
                                    商品总数：<span id="number_goods2">0</span>
                                    |已更新：<span id="been_updat2">0</span>
                                    |未更新：<span id="not_updat2">0</span>
                                    |更新错误：<span id="update_error2">0</span>
                            </span>
                        </a>
                </div>
                <table id="table2" class="table table-striped table-bordered table-hover" width="100%">
                </table>
            </div>
        </div>
    </div>
</div>
